package com.xindaoapp.happypet.bean;

import java.util.List;

/**
 {
    "result": "0",
    "msg": "",
    "catearray": [
        {
            "id": "3209231",
            "type": "system",
            "authorid": "0",
            "author": "",
            "isnew": "0",
            "message": "agent4me 关注了您",
            "dateline": "1410433218",
            "from_idtype": "follow",
            "from_num": "0",
            "addtime": "2014-09-11 19:00:18"
        },
        {
            "id": "3214662",
            "type": "at",
            "authorid": "91712",
            "author": "My",
            "isnew": "0",
            "message": "My 在主题 擦擦擦擦擦 中提到了您@小豆不大现在去看看。",
            "dateline": "1410503119",
            "from_idtype": "at",
            "from_num": "0",
            "addtime": "2014-09-12 14:25:19"
        },
        {
            "id": "3217174",
            "type": "post",
            "authorid": "1281019",
            "author": "longwang",
            "isnew": "0",
            "message": "longwang&nbsp;回复了您的帖子&nbsp;太垃圾&nbsp;查看",
            "dateline": "1410514124",
            "from_idtype": "post",
            "from_num": "0",
            "addtime": "2014-09-12 17:28:44"
        }
    ],
    "isnew": "34",
    "total": "5",
    "array": [
        {
            "id": "2885313",
            "type": "app_pm",
            "authorid": "1281019",
            "author": "longwang",
            "isnew": "0",
            "message": "QQ书签",
            "dateline": "1410517843",
            "from_idtype": "fa",
            "from_num": "0",
            "addtime": "2014-09-12 18:30:43"
        },
        {
            "id": "2910297",
            "type": "app_pm",
            "authorid": "1290680",
            "author": "hotfatty",
            "isnew": "0",
            "message": "回来了",
            "dateline": "1409644544",
            "from_idtype": "fa",
            "from_num": "0",
            "addtime": "2014-09-02 15:55:44"
        },
        {
            "id": "2942721",
            "type": "app_pm",
            "authorid": "1297438",
            "author": "Cofen33",
            "isnew": "0",
            "message": "看见了",
            "dateline": "1409638085",
            "from_idtype": "fa",
            "from_num": "0",
            "addtime": "2014-09-02 14:08:05"
        },
        {
            "id": "2910300",
            "type": "app_pm",
            "authorid": "1283351",
            "author": "zhs12",
            "isnew": "0",
            "message": "今天加班了？",
            "dateline": "1409483786",
            "from_idtype": "shou",
            "from_num": "0",
            "addtime": "2014-08-31 19:16:26"
        },
        {
            "id": "2910292",
            "type": "app_pm",
            "authorid": "1289915",
            "author": "小豆不小sb",
            "isnew": "0",
            "message": "，红",
            "dateline": "1409477903",
            "from_idtype": "fa",
            "from_num": "0",
            "addtime": "2014-08-31 17:38:23"
        }
    ]
}

======================================= 说明
catearray = 3个类型，不一定有
isnew = 为1标识有新消息
from_num = 消息数量显示


 * 
 * @author chenghao
 * 
 */
public class MyMessageInfo {
    private String result;
    private String msg;
   
    private List<MessageCenterInfo> catearray;
    private List<MessageCenterInfo> array;
    
    private String isnew;
    private String total;
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public List<MessageCenterInfo> getCatearray() {
        return catearray;
    }
    public void setCatearray(List<MessageCenterInfo> catearray) {
        this.catearray = catearray;
    }
    public List<MessageCenterInfo> getArray() {
        return array;
    }
    public void setArray(List<MessageCenterInfo> array) {
        this.array = array;
    }
    public String getIsnew() {
        return isnew;
    }
    public void setIsnew(String isnew) {
        this.isnew = isnew;
    }
    public String getTotal() {
        return total;
    }
    public void setTotal(String total) {
        this.total = total;
    }
    public MyMessageInfo(String result, String msg, List<MessageCenterInfo> catearray,
            List<MessageCenterInfo> array, String isnew, String total) {
        super();
        this.result = result;
        this.msg = msg;
        this.catearray = catearray;
        this.array = array;
        this.isnew = isnew;
        this.total = total;
    }
    public MyMessageInfo() {
        super();
        // TODO Auto-generated constructor stub
    }
    @Override
    public String toString() {
        return "MyMessageInfo [result=" + result + ", msg=" + msg + ", catearray=" + catearray
                + ", array=" + array + ", isnew=" + isnew + ", total=" + total + "]";
    }
    
   
   
    
    
    
    
}
